﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MetX.Library
{
    public static class Extensions
    {
        /// <summary>
        /// Returns true if the string is not null and is not blank
        /// </summary>
        /// <param name="target">string to target</param>
        /// <returns>True if the string contains a not null, not empty string</returns>
        public static bool IsNotEmpty(this string target)
        {
            return !string.IsNullOrEmpty(target);
        }
    }
}
